package pro.cherish.knowledgeumldesignpattern.designPattern.com.cherish.bridge;

public interface Computer {
    void sale();
}
class Desktop implements Computer{

    @Override
    public void sale() {
        System.out.println("销售台式机");
    }
}

class Labtop implements Computer{
    @Override
    public void sale() {
        System.out.println("销售笔记本");
    }
}
class Pad implements Computer{
    @Override
    public void sale() {
        System.out.println("销售平板机");
    }
}
class LenovoDesktop extends Desktop{
    @Override
    public void sale() {
        System.out.println("销售联想台式机");
    }
}
class LenovoLabtop extends Labtop{
    @Override
    public void sale() {
        System.out.println("销售联想笔记本");
    }
}
class LenovoPad extends Pad{
    @Override
    public void sale() {
        System.out.println("销售联想平板");
    }
}

class ShenzouDesktop extends Desktop{
    @Override
    public void sale() {
        System.out.println("销售神舟台式机");
    }
}
class ShenzouLabtop extends Labtop{
    @Override
    public void sale() {
        System.out.println("销售神舟笔记本");
    }
}
class ShenzouPad extends Pad{
    @Override
    public void sale() {
        System.out.println("销售神舟平板");
    }
}


class DellDesktop extends Desktop{
    @Override
    public void sale() {
        System.out.println("销售戴尔台式机");
    }
}
class DellLabtop extends Labtop{
    @Override
    public void sale() {
        System.out.println("销售戴尔笔记本");
    }
}
class DellPad extends Pad{
    @Override
    public void sale() {
        System.out.println("销售戴尔平板");
    }
}